// my.js
const request = require('./config/request')
const { BASEAPIAIIIIN } = require('./config/config')

module.exports = {
  // data可以传入 url, data, ignoreToken:请求是否携带token, form:是否是表单请求, cToken
  gettosystemnoticemessagebypage (data={}) { //获取列表
    let url = BASEAPIAIIIIN +'/app/mymessageauth/gettosystemnoticemessagebypage'
    return request.post({ url, data })
  },

  bulkreadmessage (data) { //获取列表
    let url = BASEAPIAIIIIN +'/app/mymessageauth/totalreadmessage'
    return request.post({ url, data })
  }
}
